<template>
  <div>
    <h2 @click="test">我是About组件</h2>
    <h3>尊敬的：{{msg}}</h3>
    <p>成绩是：
    <span v-for="(item,key) in scores" :key="key">{{item + " "}}</span>
    </p>
  </div>
</template>

<script>
  export default{
    name:"AboutView",
    data(){
      return{
        scores:[33,32,34,25,98]
      }
    },methods:{
      test(){
        console.log("被点击了")
      }
    },created() {
      document.title="关于"
    }
  }
</script>